package com.young.customer.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class UrlConstants {


    /**
     * 查询够样余额交易记录
     */
    public static String QUERY_BALANCE_LOG_URL;



    /**
     * 冻结订单余额地址
     */
    public static String FROZEN_ORDER_BALANCE_URL;


    /**
     * 核减冻结余额地址
     */

    public static String SUB_FROZEN_BALANCE_URL;

    /**
     * 解冻冻结余额地址
     */

    public static String UNFREEZE_BALANCE_URL;


    /**
     * 获取accessToken地址
     */

    public static String ACCESSTOKEN_URL;


    /**
     * 获取支付宝注册地址
     */

    public static String ALIREGISTERED_URL;
    /**
     * 获取微信注册地址
     */

    public static String WEIXINREGISTERED_URL;
    /**
     * 获取手机号注册地址
     */

    public static String CUSTOMERREGISTER_URL;


    /**
     * 修改密码
     */

    public static String UPDATECUSTOMERPWD_URL;


    public static String getQueryBalanceLogUrl() {
        return QUERY_BALANCE_LOG_URL;
    }
    @Value("${url.query_balance_log_url}")
    public static void setQueryBalanceLogUrl(String queryBalanceLogUrl) {
        QUERY_BALANCE_LOG_URL = queryBalanceLogUrl;
    }


    public String getFrozenOrderBalanceUrl() {
        return FROZEN_ORDER_BALANCE_URL;
    }
    @Value("${url.frozen_order_balance_url}")
    public void setFrozenOrderBalanceUrl(String frozenOrderBalanceUrl) {
        FROZEN_ORDER_BALANCE_URL = frozenOrderBalanceUrl;
    }

    public String getSubFrozenBalanceUrl() {
        return SUB_FROZEN_BALANCE_URL;
    }
    @Value("${url.sub_frozen_balance_url}")
    public void setSubFrozenBalanceUrl(String subFrozenBalanceUrl) {
        SUB_FROZEN_BALANCE_URL = subFrozenBalanceUrl;
    }

    public String getUnfreezeBalanceUrl() {
        return UNFREEZE_BALANCE_URL;
    }
    @Value("${url.unfreeze_balance_url}")
    public void setUnfreezeBalanceUrl(String unfreezeBalanceUrl) {
        UNFREEZE_BALANCE_URL = unfreezeBalanceUrl;
    }

    public String getAccesstokenUrl() {
        return ACCESSTOKEN_URL;
    }
    @Value("${url.accesstoken_url}")
    public void setAccesstokenUrl(String accesstokenUrl) {
        ACCESSTOKEN_URL = accesstokenUrl;
    }

    public String getAliregisteredUrl() {
        return ALIREGISTERED_URL;
    }
    @Value("${url.aliregistered_url}")
    public void setAliregisteredUrl(String aliregisteredUrl) {
        ALIREGISTERED_URL = aliregisteredUrl;
    }

    public static String getWeixinregisteredUrl() {
        return WEIXINREGISTERED_URL;
    }
    @Value("${url.weixinregistered_url}")
    public void setWeixinregisteredUrl(String weixinregisteredUrl) {
        WEIXINREGISTERED_URL = weixinregisteredUrl;
    }

    public String getCustomerregisterUrl() {
        return CUSTOMERREGISTER_URL;
    }

    @Value("${url.customerregister_url}")
    public void setCustomerregisterUrl(String customerregisterUrl) {
        CUSTOMERREGISTER_URL = customerregisterUrl;
    }

    public String getUpdatecustomerpwdUrl() {
        return UPDATECUSTOMERPWD_URL;
    }
    @Value("${url.updatecustomerpwd_url}")
    public void setUpdatecustomerpwdUrl(String updatecustomerpwdUrl) {
        UPDATECUSTOMERPWD_URL = updatecustomerpwdUrl;
    }
}